package day04;

public class Poem {

	public static void main(String[] args) {
	String poemTitle=" 闻官军收河南蓟北";
	String poet="[唐] 杜甫";
	
			char[] [] poem={
			{'剑','外','忽','传','收','蓟','北'},
			{'初','闻','涕','泪','满','衣','裳'},
			{'却','看','妻','子','愁','何','在'},
			{'漫','卷','诗','书','喜','欲','狂'},
			{'白','日','放','歌','须','纵','酒'},
			{'青','春','作','伴','好','还','乡'},
			{'即','从','巴','峡','穿','巫','峡'},
			{'便','下','襄','阳','向','洛','阳'},
			};
			for (int i=0; i<poem[0].length; i++){ 
				System.out.print("    ");
				for(int j=0; j<poem.length ;j++){
					System.out.print(poem[poem.length-1-j] [i]+"     " );
				}
					System.out.println();
			}
			System.out.println("\t" +poemTitle);
			System.out.println("\t\t\t" +poet);
		}

}
